<template>
  <div class="datas">
    <div class="sib">
      <side-bar v-on:getSelect="getSeData"></side-bar>

    </div>
    <div class="main-part">
      <main-part v-bind:msg="getSe" :key="getSe"></main-part>
    </div>
  </div>
</template>

<script>
import SideBar from '@/views/Side-bar'
import MainPart from '@/views/Main-part'

export default {
  name: 'DataC',
  components: {
    MainPart,
    SideBar
  },
  data () {
    return {
      getSe: {
        Dev: false,
        Learn: true,
        ForumData: false,
        PrivateJData: false
      }
    }
  },
  methods: {
    getSeData (value) {
      this.getSe = Object.assign(this.getSe, value)
    }
  }
}
</script>

<style scoped lang="scss">
@import "~@/assets/css/t1.scss";
@import "~@/assets/css/t3.scss";
</style>
